<template>
    <view>
        <u-sticky>
            <view class="cu-list menu sm-border">
                <view class="cu-item">
                    <view class="content">
                    <text class="text-black text-xl">PY2019010007-CD2</text>
                    </view>
                    <view class="action">
                    <text class="text-black text-xl">重庆雅恒房地产开发有限公司给水工程裁断</text>
                    </view>
                </view>
            </view>
        </u-sticky>
        <view class="cu-card">
            <view v-for="item in 5" class="cu-item shadow" @click="add('查看')">
                <!-- <view class="cu-form-group">
                    <view class="title">项目编号</view>
                    <view>PY2019010007-CD2</view>
                </view>
                <view class="cu-form-group">
                    <view class="title">项目名称</view>
                    <view>重庆雅恒房地产开发有限公司给水工程</view>
                </view> -->
				<view class="cu-form-group">
				    <view class="text-xl text-bold">设计编号</view>
				    <view class="text-xl text-bold">PY2019010007-B06</view>
				</view>
				<view class="cu-form-group">
				    <view class="title">文件类型</view>
				    <view >材料一览表</view>
				</view>
				<view class="cu-form-group">
				    <view class="title">文件格式</view>
					<view>Compression</view>
				</view>
				
				<view class="cu-form-group">
				    <view class="title">文件名称</view>
				    <view>雅居乐-2.rar</view>
				</view>
                <view class="cu-form-group">
                    <view class="title">录入时间</view>
                    <view>2024-03-15 15:47:21</view>
                </view>
              
                <view class="cu-form-group">
                    <view class="title">录入人</view>
                    <view> 胡婧(hujing)</view>
                </view>
                
            </view>
            
           
        </view>
        <!-- <view style="height: 80px"></view>
        <view class="btn-group cu-bar foot" >
            <button class="cu-btn bg-green shadow-blur" @tap="add">
                <text class="cuIcon-add"></text> 创建
            </button>
        </view> -->
    </view>
</template>
<script>

  export default{
    data(){
        return{

        }
    },
    methods:{
        add(item){
            console.log(item,'item')
            // if(item){
            //     uni.navigateTo({
            //         url: '/pages/zfgs/index/xmzb/add?item='+item
            //     })
            // }else{
            //     uni.navigateTo({
            //         url: '/pages/zfgs/index/xmzb/add'
            //     })
            // }
        }
    }
  }

</script>
<style lang="scss" scoped>
.cu-bar {
  min-height: 80px;
}
.cu-btn {
  font-size: 16px;
  height: 40px;
}
.foot{
    background: #fff;
}
.cu-item{
  flex-wrap: wrap;
  padding: 15px !important;
}

.title{
	width: 100px;
}
</style>